package com.badou.project.moduleDemo.service.impl;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.badou.core.base.support.spring.BaseSpringService;
import com.badou.project.moduleDemo.dao.IFun6DemoDAO;
import com.badou.project.moduleDemo.model.Fun6DemoEntity;
import com.badou.project.moduleDemo.service.IFun6DemoService;
@Service
public class Fun6DemoServiceImpl extends BaseSpringService<Fun6DemoEntity, Serializable> implements IFun6DemoService{
	@Autowired
	private IFun6DemoDAO customerDao;
	//要提供setter方法  把dao实现类赋给父类的baseDao   
	@Autowired
	public void setCustomerDao(IFun6DemoDAO customerDao) {
		this.customerDao = customerDao;
		super.baseDAO = customerDao;
	}
	
}
